package ar.com.mooral.pojo;

import ar.com.mooral.crohn.application.CrohnContext;

public class DepositionPojo extends BasePojo {


	@Override
	public String getName() {
		return " Deposicion - " + get("forma");
	}

	public String getBlood(){
		return get("sangre");
	}
	public void setBlood(String blood){
		put("sangre",blood);
	}


	public String getUrgency(){
		return get("urgencia");
	}
	public void setUrgency(String urgency){
		put("urgencia",urgency);
	}
	

	public String getType(){
		return get("forma");
	}
	public void setType(String type){
		put("forma",type);
	}
	
	protected void initialize(){
		setBlood(CrohnContext.DEPOSITION_LIQUIDS_ID_BLOOD_NOTHING);
		setUrgency(CrohnContext.DEPOSITION_LIQUIDS_ID_URGENCY_LOW);
		//setUrgency("");
		setType("");
	}
}
